<template>
	<view style="width: 100%;height: 100%; margin: 10% 0;">
		<view style="display: flex;">
			<button @click="newpage('/pages/Matters/Matters')" class="buttons">事项管理</button>
			<button @click="newpage('/pages/index/index')" class="buttons">每日小测</button>
		</view>
		
		<view style="display: flex;margin: 5% 0;">
			<button @click="newpage('/pages/getClock/getClock')" class="buttons">每日打卡</button>
			<button @click="newpage('/pages/EnglishWord/EnglishWord')" class="buttons">英语单词</button>
		</view>
		

	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			newpage(new_url){
				uni.navigateTo({
					url:new_url
				});
			},
		}
	}
</script>

<style>
	.buttons{
		width: 40%;
	}
</style>
